package com.cws.web;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class UserSession implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	 private String loginId;
	 
	 private String userId;
	 
	 public static final String USER_SESSION_KEY = "COM.GLODON.SSO.SESSION.KEY";
	 
	 private Map<String, Object> attributes = new HashMap<String, Object>();
	 
	 
	public UserSession(String loginId) {
		super();
		this.loginId = loginId;
	}

	public UserSession(String loginId,String userId) {
		super();
		this.loginId = loginId;
		this.userId = userId;
	}
	
	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	public Map<String, Object> getAttributes() {
		return attributes;
	}

	public void setAttributes(Map<String, Object> attributes) {
		this.attributes = attributes;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	 
	 
	 
	 
	 
	 
	 
	 
	 
	 
}
